package com.cc.boot.quick.model;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Component
@ConfigurationProperties(prefix="book")
@Setter
@Getter
@ToString
public class Book{
	private String name;
	private String author;
	private Float price;
}